package com.bytedance.frameworks.baselib.network.http.util;

public class DownloadFileTooLargeException extends Exception {
    final long length;
    final int maxSize;
    private static final long serialVersionUID = -1098012010869697449L;

    public DownloadFileTooLargeException(int arg3, long arg4) {
        super("Download file too large: " + arg3 + " " + arg4);
        this.maxSize = arg3;
        this.length = arg4;
    }

    public long getLength() {
        return this.length;
    }

    public int getMaxSize() {
        return this.maxSize;
    }
}

